package com.hongning.railway.binding.superbutton;


import android.databinding.BindingAdapter;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.widget.EditText;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import me.goldze.mvvmhabit.utils.ToastUtils;
import top.androidman.SuperButton;


/**
 * Created by goldze on 2017/6/16.
 * TwinklingRefreshLayout列表刷新的绑定适配器
 */
public class ViewAdapter {
    @BindingAdapter(value = {"supertext"}, requireAll = false)
    public static void setText(SuperButton superButton, final String supertext) {
        superButton.setText(supertext);
    }
}
